6 Lecture

CS401

Midterm & Final Term Short Notes

ASCII Codes

ASCII codes are a standardized set of numeric codes that represent characters used in the English language. Each code represents a specific character, including letters, numbers, punctuation marks, and other symbols. ASCII codes were developed i


Important Mcq's
Midterm & Finalterm Prepration
Past papers included

Download PDF
  1. What does ASCII stand for? A. American Standard Code for Information Interchange B. Advanced Standard Code for Internet Interchange C. Association of Standardized Computer Information D. Automated System Code for Integrated Interchange Answer: A How many bits are used in ASCII code to represent a single character? A. 4 bits B. 8 bits C. 12 bits D. 16 bits Answer: B Which of the following is NOT included in ASCII code? A. Letters (uppercase and lowercase) B. Numbers (0-9) C. Punctuation marks D. Emojis Answer: D What is the decimal value for the uppercase letter 'A' in ASCII code? A. 65 B. 97 C. 72 D. 90 Answer: A Which of the following is an example of a non-printable character in ASCII code? A. Space B. Tab C. Exclamation mark D. Letter 'A' Answer: B Which of the following is the hexadecimal representation for the binary code 00101011 in ASCII code? A. 2B B. 3F C. 5E D. 7D Answer: A What is the decimal value for the symbol '@' in ASCII code? A. 42 B. 64 C. 75 D. 98 Answer: B Which of the following is the ASCII code for the lowercase letter 'e'? A. 65 B. 97 C. 101 D. 103 Answer: C What is the ASCII code for the digit '8'? A. 48 B. 56 C. 64 D. 72 Answer: B What is the ASCII code for the percent symbol (%)? A. 35 B. 44 C. 63 D. 37 Answer: D



Subjective Short Notes
Midterm & Finalterm Prepration
Past papers included

Download PDF
  1. What is ASCII code and what is its purpose? Answer: ASCII (American Standard Code for Information Interchange) is a standardized code used to represent characters in the English language, using 7-bit binary numbers. It is used to represent text-based data in computing and telecommunications, allowing computers to communicate and interpret text data. How many characters can be represented using ASCII code? Answer: ASCII code can represent up to 128 characters, including uppercase and lowercase letters, numbers, punctuation marks, and other symbols. What is the difference between printable and non-printable ASCII characters? Answer: Printable ASCII characters are those that can be displayed on a screen or printed on paper, such as letters, numbers, and punctuation marks. Non-printable ASCII characters, on the other hand, are codes that cannot be displayed, such as the backspace, tab, and carriage return characters. What is the decimal value for the uppercase letter 'D' in ASCII code? Answer: The decimal value for the uppercase letter 'D' in ASCII code is 68. What is the ASCII code for the exclamation mark symbol (!)? Answer: The ASCII code for the exclamation mark symbol is 33. What is the binary representation of the ASCII code for the letter 'B'? Answer: The binary representation of the ASCII code for the letter 'B' is 01000010. What is the ASCII code for the dollar symbol ($)? Answer: The ASCII code for the dollar symbol is 36. How is ASCII code related to Unicode? Answer: Unicode is an extension of ASCII code that can represent a much larger range of characters from different languages and scripts. ASCII code is the basis of the first 128 characters in Unicode. What is the hexadecimal representation of the ASCII code for the lowercase letter 's'? Answer: The hexadecimal representation of the ASCII code for the lowercase letter 's' is 73. How has the use of ASCII code evolved over time? Answer: While ASCII code is still widely used today, it has been largely replaced by Unicode in modern computing systems. However, it remains an important part of computing history and continues to be used in some legacy systems and applications.

ASCII (American Standard Code for Information Interchange) is a widely used character encoding system that was first introduced in 1963. The system uses 7-bit binary codes to represent characters in the English language, including uppercase and lowercase letters, numbers, punctuation marks, and other symbols. It was designed to provide a standardized way for computers to communicate and interpret text data. In ASCII, each character is represented by a unique 7-bit code, allowing computers to transmit and interpret text data across different systems and platforms. For example, the letter "A" is represented by the code 01000001, while the number "5" is represented by the code 00110101. One of the benefits of ASCII is its simplicity and widespread compatibility. Nearly all modern computers and devices can interpret ASCII code, making it a universal standard for text data. It is also an essential part of internet communication protocols, such as email and HTTP, and is used in various programming languages for text manipulation and processing. While ASCII was initially developed for English language characters, it has been adapted to include additional characters and symbols for other languages and scripts. Extended ASCII and Unicode are two popular extensions of the original ASCII code that can represent a broader range of characters and languages. Despite its widespread use, ASCII code has some limitations. It can only represent a limited range of characters and does not support non-Latin scripts, such as Chinese or Arabic. Additionally, ASCII is a 7-bit code, limiting its ability to handle larger character sets. In conclusion, ASCII code has played an essential role in the development of computing and remains a fundamental part of modern computing technology. While it has some limitations, its simplicity, compatibility, and universality have made it an essential tool for text-based data communication and processing.